text view: Fix touch selection
authorMatthias Clasen <mclasen@redhat.com>
Thu, 19 Mar 2020 13:46:53 +0000 (09:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 25 Mar 2020 22:48:01 +0000 (18:48 -0400)
We forgot to allocated that popover.

gtk/gtktextview.c

index 426d34880f447c1eb2813e77df82a4fdb6a77584..19d0b946d6f840ea85933cdcece5793a6da6e9f6 100644 (file)
@@ -4441,6 +4441,9 @@ gtk_text_view_size_allocate (GtkWidget *widget,
 
   if (priv->text_handles[TEXT_HANDLE_SELECTION_BOUND])
     gtk_native_check_resize (GTK_NATIVE (priv->text_handles[TEXT_HANDLE_SELECTION_BOUND]));
+
+  if (priv->selection_bubble)
+    gtk_native_check_resize (GTK_NATIVE (priv->selection_bubble));
 }
 
 static void